//
//  MakeDetailObject.m
//  Food
//
//  Created by dlios on 15-7-18.
//  Copyright (c) 2015年 李志远. All rights reserved.
//

#import "MakeDetailObject.h"

@implementation MakeDetailObject
- (void)dealloc
{
    [_codeId release];
    [_remark release];
    [_info release];
    [_num release];
    [_healthStr release];
    [_content release];
    
    [_img release];
    [_name release];
    [_allClick release];
    [_favorites release];
    [super dealloc];
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"code"]) {
        self.codeId = value;
    }
}

- (id)initWithDic:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }
    
    return self;
}

@end
